Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 1 - Introduction to QuickDraw 3D / QuickDraw 3D Reference
QuickDraw 3D Routines / Managing Strings


Q3CString_GetLength

You can use the Q3CString_GetLength function to get the length of a C string object.

TQ3Status Q3CString_GetLength (
TQ3StringObject stringObj, 
unsigned long *length);
stringObj
A C string object.
length
On exit, the length of the specified C string object.
DESCRIPTION
The Q3CString_GetLength function returns, in the length parameter, the number of characters in the data associated with the C string object specified by the stringObj parameter. The length returned does not include the null character that terminates a C string. You should use Q3CString_GetLength to get the length of only string objects of type kQ3StringTypeCString.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996